<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
		<title></title>
		<style type="text/css">
			.close{
				display: none;
			}	
			.close div{
				padding-left: 12px;
				font-size: 13px;
			}
			.close div a{
				color: gray;
			}
			.blue a{
				color: blue;
			}
			.main{
				margin-left: 20%;
				margin-top: 15%;
			}
		</style>
		<script type="text/javascript">
			function opendiv(num){
				for(var i=1;i<=7;i++){
					var div=document.getElementById("div"+i);
					if(num==i){
						div.style.display="block";
					}else{
						div.style.display="none";
					}
				}
			}
		</script>
	</head>
	<body onload="opendiv(1)">
		<div class="main">
			<div>
				<div class="blue"><a href="#" onclick="opendiv(1)">班级管理</a></div>
				<div id="div1" class="close">
					<div><a href="../classes/classes.action" target="right">查看班级</a></div>
					<div><a href="../classes/classes!addclasses.action" target="right">添加班级</a></div>
					<div><a href="../classes/tocombine!allClasses.action" target="right">合并班级</a></div>
				</div>
			</div>
			<div>
				<div class="blue"><a href="#" onclick="opendiv(2)">宿舍管理</a></div>
				<div id="div2" class="close">
					<div><a href="../dorm/dorm!selectDorm.action" target="right">查看宿舍</a></div>
					<div><a href="../dorm/adddorm.jsp" target="right">添加宿舍</a></div>
				</div>
			</div>
			<div>
				<div class="blue"><a href="#" onclick="opendiv(3)">学生管理</a></div>
				<div id="div3" class="close">
					<div><a href="../student/student!show.action" target="right">查看学生</a></div>
				</div>
			</div>
			<div>
				<div class="blue"><a href="#" onclick="opendiv(4)">课程管理</a></div>
				<div id="div4" class="close">
					<div><a href="../course/showtermandprofession!showtermandprofession.action" target="right">添加课程</a></div>
					<div><a href="../showterm!showCourse.action" target="right">查看课程</a></div>
				</div>
			</div>
			<div>
				<div class="blue"><a href="#" onclick="opendiv(5)">成绩管理</a></div>
				<div id="div5" class="close">
					<div><a href="../classes/classes.action" target="right">查看成绩</a></div>
					<div><a href="../classes/classes.action" target="right">添加成绩</a></div>
				</div>
			</div>
			<div>
				<div class="blue"><a href="#" onclick="opendiv(6)">专业管理</a></div>
				<div id="div6" class="close">
					<div><a href="../profession/profession!showprofession.action" target="right">查看专业</a></div>
					<div><a href="../profession/profession!addprofession.action" target="right">添加专业</a></div>
				</div>
			</div>
			<div>
				<div class="blue"><a href="#" onclick="opendiv(7)">教师管理</a></div>
				<div id="div7" class="close">
					<div><a href="../teacher/teacher!selectdept.action" target="right">查看教师</a></div>
					<div><a href="../teacher/teacher!addselectteacher.action" target="right">添加教师</a></div>
				</div>
			</div>
		</div>
	</body>
</html>
